package com.crm.aftersale.service.impl;

import com.baomidou.mybatisplus.core.toolkit.Wrappers;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.crm.aftersale.domain.Goods;

import com.crm.aftersale.mapper.GoodsMapper;

import com.crm.aftersale.service.IGoodsService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


import java.util.List;


@Service
public class GoodsServiceImpl extends ServiceImpl<GoodsMapper, Goods> implements IGoodsService {




    @Autowired
    private GoodsMapper goodsMapper;


    @Override
    public List<Goods> findGoods() {

        List<Goods> goods = goodsMapper.selectList(Wrappers.<Goods>lambdaQuery());
        System.out.println(goods);
        return goods;
    }
}
